﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace HZ.WinForm
{
    public partial class HzDataGrid : DataGrid
    {
        public HzDataGrid()
        {
            InitializeComponent();
        }

        protected override void OnPaint(PaintEventArgs pe)
        {
            base.OnPaint(pe);
        }
        public void ScollRow(int rowIndex)
        {
            if (rowIndex > 0)
            {
                base.GridVScrolled(this, new ScrollEventArgs(ScrollEventType.LargeIncrement, rowIndex));
            }
        }

    }
}
